Skip to main content

Sections

Sections are the lowest level unit of organization for a class at UT Dallas. A section represents a specific instance of a course taught during a specific semester by a specific professor, at a specific time.

When querying for a Section, it will return Section JSON objects in with the following properties:

Properties

NameTypeRequiredRestrictionsDescription
_idstringtruenoneThe id represents the primary key associated with the section
section_numberstringtruenoneThis is the number associated with the course during its semester eg. .001
course_referencestringtruenoneThe course reference represents a foreign key to the course record
section_corequisitesCollectionRequirementfalsenoneAll of the classes that must be taken alongside this section eg. A lab for a science course
academic_sessionAcademicSessiontruenoneThe name of the academic session of the section
professors[string]truenoneAn array of references to professor objects associated with this section
teaching_assistants[Assistant]falsenoneAn array of all TA's associated with this section
internal_class_numberstringtruenoneThe internal representation of the class number unique id from university
instruction_modestringtruenoneThe modality the course is taught it eg. Online, In Person, Hybrid
meetings[Meeting]truenoneAll of the meeting information associated with a section
core_flags[string]falsenoneInformation if the course counts as a core credit for one of the core subject areas
syllabus_uristringtruenoneLink to the syllabus for the section listed on coursebook
grade_distribution[integer]falsenoneAn array representing the distribution of grades for this section

Querying a Section

There are two main ways to query for a section:

  1. By Query Paramters
  2. By ID

Each of these methods has its own API endpoint to get the requested data.

GET /section

The default endpoint for /section returns a list of sections matching the set of query parameters provided.

Below is a list of all of the parameters that can be used to refine your query:

Parameters

NameInTypeRequiredDescription
section_numberquerystringfalseThe section's official number
course_referencequerystringfalseAn id that points to the course in MongoDB that this section is an instantiation of
academic_session.namequerystringfalseThe name of the academic session of the section
academic_session.start_datequerystringfalseThe date of classes starting for the section
academic_session.end_datequerystringfalseThe date of classes ending for the section
professorsquerystringfalseOne of the professors teaching the section
teaching_assistants.first_namequerystringfalseThe first name of one of the teaching assistants of the section
teaching_assistants.last_namequerystringfalseThe last name of one of the teaching assistants of the section
teaching_assistants.rolequerystringfalseThe role of one of the teaching assistants of the section
teaching_assistants.emailquerystringfalseThe email of one of the teaching assistants of the section
internal_class_numberquerystringfalseThe internal (university) number used to reference this section
instruction_modequerystringfalseThe instruction modality for this section
meetings.start_datequerystringfalseThe start date of one of the section's meetings
meetings.end_datequerystringfalseThe end date of one of the section's meetings
meetings.meeting_daysquerystringfalseOne of the days that one of the section's meetings
meetings.start_timequerystringfalseThe time one of the section's meetings starts
meetings.end_timequerystringfalseThe time one of the section's meetings ends
meetings.modalityquerystringfalseThe modality of one of the section's meetings
meetings.location.buildingquerystringfalseThe building of one of the section's meetings
meetings.location.roomquerystringfalseThe room of one of the section's meetings
meetings.location.map_uriquerystringfalseA hyperlink to the UTD room locator of one of the section's meetings
core_flagsquerystringfalseOne of core requirement codes this section fulfills
syllabus_uriquerystringfalseA link to the syllabus on the web

Example responses

200 Response

[
{
"_id": "string",
"section_number": "string",
"course_reference": "string",
"section_corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"academic_session": {
"name": "string",
"start_date": "string",
"end_date": "string"
},
"professors": ["string"],
"teaching_assistants": [
{
"first_name": "string",
"last_name": "string",
"role": "string",
"email": "string"
}
],
"internal_class_number": "string",
"instruction_mode": "string",
"meetings": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"core_flags": ["string"],
"syllabus_uri": "string",
"grade_distribution": [0]
}
]

GET /section/{id}

This endpoint returns a single Section object with a primary key matching {id}.

Parameters

This endpoint accepts a single route paramter: id

NameInTypeRequiredDescription
idpathstringtrueID of the section to get

Example responses

200 Response

{
"_id": "string",
"section_number": "string",
"course_reference": "string",
"section_corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"academic_session": {
"name": "string",
"start_date": "string",
"end_date": "string"
},
"professors": ["string"],
"teaching_assistants": [
{
"first_name": "string",
"last_name": "string",
"role": "string",
"email": "string"
}
],
"internal_class_number": "string",
"instruction_mode": "string",
"meetings": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"core_flags": ["string"],
"syllabus_uri": "string",
"grade_distribution": [0]
}